﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPageAdmin.master" AutoEventWireup="true"
    CodeFile="NonTermCurrent.aspx.cs" Inherits="Plublic_NonTermCurrent" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script type="text/javascript">
        function dislayCalendar() {
            var datePiker = document.getElementById('datePiker');
            datePiker.style.display = 'block';
        }
    </script>
    <style type="text/css">
        .style6
        {
            text-align: right;
            width: 112px;
        }
        .style7
        {
            width: 266px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <form runat="server" method="post">
    <div class="CSSTableGenerator">
        <table style="width: 100%;">
            <tr>
                <td class="style6">
                    Account Holders :
                </td>
                <td class="style7">
                    <asp:DropDownList ID="ddlAccHolder" runat="server" Width="260px">
                    </asp:DropDownList>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="style6">
                    Account Number :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtAccounNumber" runat="server" Width="260px"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                      ControlToValidate="txtAccounNumber"  ErrorMessage="RequiredFieldValidator" ForeColor="Red" 
                        ValidationGroup="CheckNull">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style6">
                    Open Date :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtOpenDate" runat="server" Width="200px"></asp:TextBox>
                    <img src="Image/day.jpg" onclick="dislayCalendar()" style="height: 22px; width: 36px" />
                    <div id="datePiker" style="display: none;">
                        <asp:Calendar ID="calEventDate" runat="server" OnSelectionChanged="calEventDate_SelectionChanged">
                        </asp:Calendar>
                    </div>
                </td>
                <td>
                   
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                      ControlToValidate="txtOpenDate"  ErrorMessage="RequiredFieldValidator" ForeColor="Red" 
                        ValidationGroup="CheckNull">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style6">
                    Interest Rate :
                </td>
                <td class="style7">
                    <asp:DropDownList ID="ddlIRate" runat="server" Width="260px">
                    </asp:DropDownList>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style6">
                    Balance :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtBalance" runat="server" Width="260px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                      ControlToValidate="txtBalance"  ErrorMessage="RequiredFieldValidator" ValidationGroup="CheckNull" 
                        ForeColor="Red">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style6">
                    Currency :
                </td>
                <td class="style7">
                    <asp:DropDownList ID="ddlCurrency" runat="server" Width="260px">
                        <asp:ListItem>USD</asp:ListItem>
                        <asp:ListItem>VND</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style6">
                    Location :
                </td>
                <td class="style7">
                    <asp:DropDownList ID="ddlLocation" runat="server" Width="260px">
                    </asp:DropDownList>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style6">
                    Status :
                </td>
                <td class="style7">
                    <asp:CheckBox ID="cboStatus" runat="server" Checked="True" />
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style6">
                    Descriptions :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtDescriptions" runat="server" Width="260px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" 
                        ValidationGroup="CheckNull" />
                </td>
                <td>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
    </form>
</asp:Content>
